<div class="SipeiInfo"><!--阅卷准备_06阅卷教师信息分配_编辑-->
    <form method='post' action='<?php echo $this->createUrl('/problem/default/problemadd') ?>'>
        <table class="fontc_666 height34">
            <tbody>
                <?php
                $teacher_id = '';
                $exm_name = '';
                $school_name = '';
                $teacher_name = '';
                $subject_name = '';
                $is_group = '';
                if ($teacherinfo) {
                    $teacher_id = $teacherinfo['teacher_id'];
                    $exm_name = $teacherinfo['exam_term_name'];
                    $school_name = $teacherinfo['school_name'];
                    $teacher_name = $teacherinfo['teacher_name'];
                    $subject_name = $teacherinfo['subject_name'];
                    $is_group = $teacherinfo['leader'];
                }
                ?>
                <tr>
            <input type="hidden" name="teacher_id" value="<?php echo $teacher_id; ?>" />
            <td width="165" align="right" class="pt20 pr5">所属考试项目：</td>
            <td width="330" class="pt20"><?php echo $exm_name; ?></td>
            </tr>
            <tr>
                <td align="right" class="pr5">所属学校：</td>
                <td class="">
                    <?php echo $school_name; ?>
                </td>
            </tr>
            <tr>
                <td align="right" class="pt5 pr5">所属学科：</td>
                <td class="pt5">
                    <?php echo $subject_name; ?>
                </td>
            </tr>
            <tr>
                <td align="right" class="pt5 pr2">教师姓名：</td>
                <td class="pt5"><?php echo $teacher_name; ?></td>
            </tr>
            <tr>
                <td align="right" valign="top" class="pt5 pr5">分配题号：</td>
                <td class="pt5">
                    <ul class="clearfix">
                        <?php if ($num): foreach ($num as $one): ?>
                                <li class="fl SipeiAllot2"><input type="checkbox" name="problem_id[]" class="checkboxs" value="<?php echo $one['num_id'] ?>" checked disabled /><!--<span class="pl5">--><span><?php echo $one['num_id']; ?></span></li>
                                <?php
                            endforeach;
                        endif;
                        ?>
                    </ul>
                </td>
            </tr>
            <tr>
                <td align="right" valign="top" class="pr5">是否为小组长：</td>
                <td><input type="checkbox"  name='is_group' value='1' <?php
                    if ($is_group == 1) {
                        echo "checked";
                    }
                    ?>/></td>
            </tr>
            <tr>
                <td colspan="2" align="center" class="pt20 pb20">
                    <input type="submit" value="确认" class="b_a_n border_3 back_bgfb w80 height32 fontc_FFF fonts_12 mr10 cursor" />
                    <input type="button" value="取消" onclick="api.close()" class="b_a_n border_3 back_bgb w80 height32 fontc_FFF fonts_12 cursor" />
                </td>
            </tr>
            </tbody>
        </table>
    </form>
</div>
<?php exit; ?>